package com.fudan.backend.service;

import com.fudan.backend.exception.RetCode;
import com.fudan.backend.pojo.DeliveryInfo;
import com.github.pagehelper.PageInfo;

public interface DeliveryService {
    /**
     * 获取商店所有发货请求
     *
     * @param storeId 商店id
     * @param userId  请求用户id
     */
    PageInfo<DeliveryInfo> getDeliveryInfoByStoreId(String storeId, String userId, Integer current, Integer size);

    /**
     * 发货
     *
     * @param deliveryInfoId 发货信息id
     * @param userId         请求用户id
     */
    RetCode setDeliveryInfoShip(String deliveryInfoId, String userId);

}
